package cn.zyq.stater.config;

import cn.zyq.stater.bean.User1;
import cn.zyq.stater.bean.User3;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

@Configuration
public class Config3 {
    @Bean("user3")
    public User3 createUser1(){
        System.out.println("Config3...");
        User3 user3=new User3();
        return user3;
    }
}
